/* Token.java */

/** A collection of constants to represent the tokens of the minimal grammar
 * shown at
<a href="http://cs.boisestate.edu/~tcole/cs354/spr05/grammar0.html">
http://cs.boisestate.edu/~tcole/cs354/spr05/grammar0.html</a>

@author Teresa Cole
@author Samuel Jenkins
@version CS354 Fall 2005 - modified Fall 2008
 */
public interface Token
{

    static final String[] lexNames =
    {
        "eof", "=",
        "+", "-", "*", "/",
        "(", ")", ";"
    };
    static final int EOF = 0,  ASSIGN = 1,  PLUS = 2,  MINUS = 3,  TIMES = 4,  DIVIDE = 5,  OPAREN = 6,  CPAREN = 7,  SEMIC = 8,  UNARYMINUS = 9;
    static final int VAR = 100,  NUMBER = 101,  UNKNOWN = 990,  ERROR = 999;
    static final String[] lexString =
    {
        "EOF",
        "ASSIGN", "PLUS", "MINUS", "TIMES", "DIVIDE",
        "OPAREN", "CPAREN", "SEMIC"
    };
}
